/**
 * 配置编译环境和线上环境之间的切换
 * 
 * baseUrl: 域名地址
 * routerMode: 路由模式
 * imgBaseUrl: 图片所在域名地址
 * 
 */

let baseUrl = ''; 
let routerMode = 'hash';
let imgBaseUrl = '';

console.log('process.env.NODE_ENV',process.env.NODE_ENV);


if (process.env.NODE_ENV == 'development') {
	console.log('这是development',process.env.NODE_ENV);
	
	baseUrl = 'https://dev.kemean.net/cityUser';
    imgBaseUrl = '/img/';
}else if(process.env.NODE_ENV == 'production'){
	console.log('这是production',process.env.NODE_ENV);
	baseUrl = 'https://dev.kemean.net/cityUser';
    imgBaseUrl = 'https://dev.kemean.net/cityUser';
}

export {
	baseUrl,
	routerMode,
	imgBaseUrl,
}